/*页面元素初始化*/

* {
    padding: 0;
    margin: 0
}

ul, ol, li {
    list-style-type: none;
}

a {
    color: aliceblue;
    text-decoration: none;
}

body {
    /*color: aliceblue;*/
    font-size: 14px;
    font-family: '', 'Microsoft YaHei', serif;
}

.clearFix:after {
    content: '';
    clear: both;
    display: block;
}

.background:hover {
    background: linear-gradient(-45deg, #f1eefc, #9dc6ff 70%, #a5bcff)
}

.background {
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -100;
    /*设置网页背景*/

    background: linear-gradient(-45deg, #f1eefc, #9dc6ff 70%, #a5bcff);

}

.main {
    width: 1200px;
    margin: 0 auto;
}

header {
    margin: 10px;
    height: 60px;
    position: relative;
}

header > p:first-child {
    font-size: 150%;
    font-weight: bold;
    line-height: 1.5;
    margin-left: 1em;
    margin-top: 5px;
    width: 50%;
}

header > p:last-child {
    /*-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right,  #aedefc,#b4b4ff,#fb929e );*/
    margin-left: 4em;
    line-height: 1.5;
    width: 50%;
}

.upRightCorner {
    position: absolute;
    top: 10px;
    right: 50px;
}

.upRightCorner img {
    border-radius: 50%;
    height: 32px;
    width: 32px;
    float: left;
}

.upRightCorner p {
    display: inline;
    margin-left: 10px;
    line-height: 32px;
    float: left;
}

.upRightCorner:hover .info {
    color: #fff;
    background: rgba(255, 255, 255, .2);
    display: block;
}

.upRightCorner .info {
    margin-left: 70px;
    width: 100px;
    border-radius: 5px;
    display: none;
    text-align: center;
}

.upRightCorner .info:hover {
    background: #9dc6ff;
}

#mainBody {
    margin: 0 auto;
    width: 100%;
    /*height: 500px;*/
}

#left {
    margin: 10px;
    width: 160px;
    height: 443px;
    float: left;
}

.portraitDiv {
    margin-bottom: 1rem;
    text-align: center;
}

.portraitDiv img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    border: 1px aliceblue solid;
    padding: 5px;
    /*box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);*/
    margin: 0 auto;
    display: block;
}

.description {
    margin-top: 16px;
}

/*状态*/
.status {
    display: inline-block;
    color: #fff;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.05);
    font-size: 14px;
    border-radius: 14px;
    padding: 5px 20px;
    font-weight: 400;
    margin-top: 16px;
}

/*进度条*/
.progressbar {
    margin-top: 12px;
}

.progressbarFull {
    border-radius: 100px;
    border: 1px solid #ffffff;
    /*background-color: #EBEEF5;*/
    overflow: hidden;
    position: relative;
    vertical-align: middle;
}

.progressInner {
    background-image: linear-gradient(to right, #fb929e, #b4b4ff, #aedefc);
    position: absolute;
    border-right: 1px solid #ffffff;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #409EFF;
    text-align: right;
    border-radius: 100px;
    line-height: 25px;
    white-space: nowrap;
}

.progressbarText {
    color: #FFF;
    font-size: 14px;
    margin: 0 5px;
    display: inline-block;
}

.catList {
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.list-item {
    letter-spacing: 2px;
    position: relative;
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: left;
    border-radius: 6px;
    padding: 7px 22px;
    vertical-align: middle;
    align-items: center;
}

.list-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .2);
}


#right {
    width: 805px;
    float: left;
    border: 1px solid aliceblue;

    /*background: #fff;*/
    -webkit-box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .05);
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .05);
    border-radius: 12px;
    margin: 20px 40px 20px 80px;
}

/*右侧导航栏*/
.navBar {
    height: 50px;
    /*width: 320px;*/

    text-align: center;
    position: relative;
    z-index: 100;
}

.navBar ul {
    /*background-color: #efefef;*/
    background-image: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
    /*background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
    background: -webkit-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
    */
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.15);
    padding: 0 20px;
    margin: 10px;
    border-radius: 10px;
    list-style: none;
    position: relative;
    display: inline-table;
}

.navBar > ul > li {
    line-height: 28px;
    padding: 5px 10px;
    float: left;
}

.navBar > ul > li:hover {
    background: aliceblue;
    border-radius: 3px;
    color: #a5bdff;
}

.active {
    background: aliceblue;
    border-radius: 3px;
    color: #a5bdff;
}

.mainContent {
    margin: 10px;
    /*border: 1px solid #ebeef5;*/
    color: #303133;
    transition: .3s;
}

.resentArticle {
    border: 1px solid aliceblue;
    /*color: aliceblue;*/
    /*background: linear-gradient(204deg, #f1eefc, #9dc6ff 35%, #a5bcff);*/
}


.mainContent-header {
    padding: 18px 20px;
    border-bottom: 1px solid #ebeef5;
    box-sizing: border-box;
}

.mainContent-header h1 {
    font-size: 21px;
    margin-bottom: 10px;
    vertical-align: middle;
    align-items: center;
    line-height: 25px;
}

.mainContent-header h1 span {
    background: center;
    float: left;
    line-height: 21px;
    padding: 0 10px
}

.mainContent-header h1 span i {
    font-size: 28px;
    vertical-align: middle;
}

.mainContent-body {
    padding: 20px;
}

.mainContent-header > span {
    margin-left: 40px;
}


.releaseTime {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgb(96, 108, 113);
}

.abstract {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgb(48, 49, 51);
    border-bottom: 1px solid rgb(228, 231, 237);
    padding: 5px 0;
}

.abstract > pre {
    border-left: 5px solid #409eff;
    padding: 0 0 0 10px;
    display: block;
    white-space: pre;
    margin: 1em 0;
}

.mainContent-detail {
    color: #24292e;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
}

.mainContent-detail > pre:first-child {
    white-space: pre-wrap;
    word-wrap: break-word;
    padding-top: 10px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    /*background-color: #f6f8fa;*/
    border-radius: 3px;
}

.mainContent-detail > pre:last-child {
    border-left: 4px solid lightgray;
    padding-top: 10px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    /*background-color: #f6f8fa;*/
    border-radius: 3px;
}

.titleIcon {
    height: 27px;
    margin-top: 20px;
    background-image: url("../myimages/arrow.png");
    background-repeat: no-repeat;
}

.titleIcon > p {
    margin-left: 20px;
    height: 27px;
    color: white;
    padding: 2px 20px;
}

.searchBar {
    padding: 10px 20px;
    border: 1px solid aliceblue;
    margin-bottom: 10px
}

.searchDiv > input {
    width: 350px;
    display: inline
}

.searchDiv > span {
    background: center;
    line-height: 21px;
    padding: 0 10px
}

.searchIcon {
    font-size: 21px !important;
    vertical-align: middle;
}

/*一条博客项*/
.blog-item {
    border: 1px solid aliceblue;
    margin-bottom: 20px;
}
.blog-item:hover {
    border-radius: 10px;
    box-shadow: 0px 13px 31px 0px rgba(43, 97, 218, 0.3);
}

.blog-title {
    padding: 10px 20px;
    border-bottom: 1px solid aliceblue
}

.blog-icon {
    background: center;
    float: left;
    line-height: 21px;
    padding: 0 10px
}

.blog-icon > i {
    font-size: 28px;
    vertical-align: middle;
}

.deleteIcon {
    background: center;
    float: right;
    line-height: 21px;
    padding: 0 10px
}

.editIcon {
    background: center;
    float: right;
    line-height: 21px;
    padding: 0 10px
}

.labels {
    margin: 0 18px 10px 18px;
}

.read {
    vertical-align: middle;
    font-size: 12px;
    margin: 0 4px;
}

.blog-content {
    visibility: hidden;
    position: absolute
}

.openSourceProject .searchBar {
    padding: 10px 20px;
    border: 1px solid aliceblue;
    margin-bottom: 10px
}

.openSourceProject .searchDiv > span {
    background: center;
    line-height: 21px;
    padding: 0 10px
}

.proj-item {
    border: 1px solid aliceblue;
    margin-bottom: 20px;
}
.proj-item:hover {
    border-radius: 10px;
    box-shadow: 0px 13px 31px 0px rgba(43, 97, 218, 0.3);
}

.proj-title {
    padding: 10px 20px;
    border-bottom: 1px solid aliceblue
}

.proj-abstract {
    padding: 15px
}

.proj_time {
    font-size: 0.9rem;
    line-height: 1.5;
}

.proj-abstract > div:last-child {
    font-size: 1.1rem;
    border-left: 5px solid #409eff;
    line-height: 1.5;
    color: rgb(48, 49, 51);
    padding: 0 10px 0 15px;
}

.labels2 {
    margin: 0 18px 10px 18px;
}

.icon-rate {
    background: center;
    margin: 0 10px
}

.icon-notice {
    background: center;
    margin: 0 10px;
}

.icon-next {
    vertical-align: middle;
    font-size: 12px;
    margin: 0 4px;
}

.about {
    width: 618px;
    height: 880px;
    margin: 20px auto;
}

footer {
    height: 74px;
}

.ToTop {
    padding: 0.4rem;
    border: #2d8cf0 1px solid;
    border-radius: 10rem;
    position: fixed;
    right: 10rem;
    bottom: 4rem;
}
.ToTop:hover{
    background:#2d8cf0 ;
    color: #fff;
}


.ToTop a, .ToTop a:visited {
    color: #6a737d;
    text-decoration: none;
}